//
//  SubmitSerOrderModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/8/17.
//  Copyright © 2020 王洋. All rights reserved.
//


#import <Foundation/Foundation.h>
//#import "HandleProSerModel.h"
#import "HandleProSerStoreModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface SubmitSerOrderModel : NSObject


/*
 {
   "byGoodsVos": [
     {
       "goodsId": "1",
       "goodsMenuId": "",
       "goodsMenuName": "",
       "goodsNum": 1,
       "goodsRemark": "备注123"
     }
   ],
   "deposit": 0,
   "discountMcAmount": 0,
   "discountMcId": "",
   "discountPcAmount": 0,
   "discountPcId": "",
   "goodsType": "1",
   "name": "测试昵称3",
   "orderId": "",
   "payType": "1",
   "remark": "备注123",
   "sellerId": "1",
   "tel": "17330709911",
   "totalAmount": 188,
   "userId": "7975993078572937216"
 }
 */

//1套餐   2婚品   3场地   4新婚车
@property (nonatomic, assign) NSInteger goodsType;

//支付方式    3全款
@property (nonatomic, assign) NSInteger payType;

//买家id
@property (nonatomic, copy) NSString  *userId;

//卖家ID
@property (nonatomic, copy) NSString *sellerId;

//城市ID
@property (nonatomic, copy) NSString *cityId;

//商家城市id
@property (nonatomic, copy) NSString *sellerCityId;


@property (nonatomic, copy) NSString *orderId;

#pragma mark 生成订单
//姓名
@property (nonatomic, copy) NSString *name;

//手机号
@property (nonatomic, copy) NSString *tel;

//用户地址
@property (nonatomic, copy) NSString *address;

//服务时间
//@property (nonatomic, assign) NSTimeInterval serviceTime;

@property (nonatomic, copy) NSString *serviceTime;

//定金
@property (nonatomic, assign) double deposit;

//商家优惠券id
@property (nonatomic, copy) NSString *discountMcId;

//商家优惠金额
@property (nonatomic, assign) double discountMcAmount;

@property (nonatomic, assign) BOOL isRecMc;


//平台优惠券id
@property (nonatomic, copy) NSString *discountPcId;

//平台优惠金额
@property (nonatomic, assign) double discountPcAmount;

@property (nonatomic, assign) BOOL isRecPc;

//总金额
@property (nonatomic, assign) double totalAmount;
//用户id

//总运费
@property (nonatomic, assign) double totalFee;

//留言
@property (nonatomic, copy) NSString *remark;

//购买的商品列表
@property (nonatomic, strong) NSMutableArray <HandleProSerStoreModel *>*bySellerVoList;





@end

NS_ASSUME_NONNULL_END
